jquery set div height dynamically

40

$(document).ready(function() {
    var divHeight = $('.col-1').height(); 
    $('.col-2').css('min-height', divHeight+'px');
});  
$('elem').height();

Comments

Submit
0 Comments